# Contributor: Stacy Harper <contact@stacyharper.net>
# Maintainer: Stacy Harper <contact@stacyharper.net>
pkgname=gmni
pkgver=1.0
pkgrel=0
pkgdesc="Gemini client"
options="!check" # No testsuite
url="https://git.sr.ht/~sircmpwn/gmni"
arch="all"
license="GPL-3.0-only"
makedepends="bearssl-dev scdoc"
subpackages="$pkgname-doc $pkgname-dev"
source="
	$pkgname-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/gmni/archive/$pkgver.tar.gz
	"
build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

package() {
	make PREFIX=/usr DESTDIR="$pkgdir" install
}
sha512sums="
bfc5afb13e28fb360997a15660e22887c06e2c208580677a0b6a3c3cdb57a508277406ebf3ba2620a3c0b7d066296e77604d1cbc0473d3939bb6204c55850038  gmni-1.0.tar.gz
"
